package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.Friend;

import java.util.List;

public interface FriendApi {

    void save(Long userId, Long friendId);


    //查询联系人列表
    List<Friend> findByUserId(Long userId, Integer page, Integer pagesize);

    void remove(Long likeUserId, Long userId);

    Integer findEachLoveCount(Long userId);
}
